/**
 * This file is part of ossecdb-extjs.
 *
 * Copyright (C) 2011 Brendan Johnston
 *
 * Contact: brendan@johnston.net.au
 *
 * Project: http://code.google.com/p/ossecdb-extjs/
 *
 * License: http://www.gnu.org/licenses/gpl-3.0.html
 */

Ext.define('OssecWeb.model.Alert', {
    extend: 'Ext.data.Model',
    fields: [
		{name: 'alert_id'},
		{name: 'time', type: 'date', dateFormat: 'timestamp'},
		{name: 'rule_id'},
		{name: 'desc'},
		{name: 'level'},
		{name: 'loc_host'},
		{name: 'loc_path'},
		{name: 'src_cntry'},
		{name: 'src_ip'},
		{name: 'src_port'},
		{name: 'dst_cntry'},
		{name: 'dst_ip'},
		{name: 'dst_port'},
		{name: 'user'},
		{name: 'full_log'}
	]
});